﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 结算单中使用的优惠券
    /// </summary>
    public class ESettlementBillCoupon 
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 结算单Id
        /// </summary>
        public Guid SettlementBillId { get; set; }

        /// <summary>
        /// 优惠券编号
        /// </summary>
        public string CouponCode { get; set; }

        /// <summary>
        /// 附带数据
        /// </summary>
        public string TagData { get; set; }

        /// <summary>
        /// 优惠券类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
    }
}
